<?php
    class IndexController extends Main_Controller_Action
    {
        private $_arrParam;
        
        public function init()
        {
            $this->loadTemplates();
            $this->_arrParam = $this->_request->getParams();
            if(isset($this->_arrParam['lang'])) {
                $this->view->lang = $this->_arrParam['lang'];
            }
            else {
                $this->view->lang = 'vi';
            }
        }
        
        public function indexAction()
        {
            $this->view->headTitle('Julytour - Trang chủ');
        }
    }
